import random
import string

def A(a=10):
    b = string.ascii_letters + string.digits
    c = ''.join(random.choice(b) for _ in range(a))
    return c

print(f"生成的10位随机密码: {A()}")